#pragma once

#include "StatusBar/EditorStatusItemView.h"
#include "EditorFPSStatusView.m.h"

class REditorFPSStatusViewModel;

//显示FPS的状态项
RCLASS()
class REditorFPSStatusView : public REditorStatusItemView
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorStatusItemViewModel> InViewModel) override; 

    virtual void FillWidgets(
        TSharedObjectPtr<RHorizontalPositionerWidget> InLeftPart
        , TSharedObjectPtr<RHorizontalPositionerWidget> InRightPart) override;
protected:
    TWeakObjectPtr<REditorFPSStatusViewModel> FPSViewModel;
};